Error: Out of Memory (when pasting text into a module because text exceeds 64K).

Error:


Out of Memory

Cause:


The text to be pasted exceeds 64K. In Access, text of more than 64K cannot be pasted from the Clipboard into a module. This is by design of Microsoft Access.

Solution:


As a workaround, copy and paste the text into the module in several small chunks.